package com.duo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @Author: Xrx
 * @Description:
 * @CreateTime: 2023/7/10 22:23
 */
@Data
public class CategoryVO {

    /**
     * 分类id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**
     * 类型 1 菜品分类 2 套餐分类
     */
    private Integer type;

    /**
     * 分类名称
     */
    private String name;

}
